<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script>
    class Component{
      constructor(){
        console.log('test test test');
      }
    }

    let React = {
      Component: Component
    }

    class A extends React.Component{

    }

    let a = new A();

  </script>
</body>
</html>